package com.blackcat.monitor.mb;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.blackcat.monitor.vo.WorkPlatform;
import com.blackcat.monitor.tool.HttpQueryManager;

public class HttpQueryBean {


	private List<WorkPlatform> workPlatform = new ArrayList<WorkPlatform>();
	
	private String queryStr = "PROTOCOL.001.";

	public HttpQueryBean()
	{

	}
		

	@SuppressWarnings("unchecked")
	public void query() throws IOException, InstantiationException, IllegalAccessException
	{
		workPlatform = (List<WorkPlatform>)HttpQueryManager.getInstance().httpStrQuery(queryStr);
		
//		System.out.println("call!!!!!!");
	}


	public List<WorkPlatform> getWorkPlatform() {
		return workPlatform;
	}


	public void setWorkPlatform(List<WorkPlatform> workPlatform) {
		this.workPlatform = workPlatform;
	}


	
	
}
